
/***************************************************/
/*     chaotix_art.h     Chaotix art structure     */
/*                       By: Josh Fiorio           */
/***************************************************/

#ifndef _CHAOTIX_ART_H_
#define _CHAOTIX_ART_H_

/* c++ libraries */
#include <stdio.h>
#include <string.h>
#define BYTE unsigned char

/* chaoxed libraries */
#include "misc_funcs.h"

/* line structure */
typedef struct
{
	short x1;
	short x2;
	short Y;
	short pixels[500];
} line;

/* art structure */
typedef struct
{
	long address;
	short x1;
	short x2;
	short y1;
	short y2;
	short nolines;
	line lines[500];
} art;

/* function prototypes */
void InitArt(art &, long);      //Reads art from a chaotix rom at position
void WriteArt(art &, long);     //Writes art to a chaotix rom at position

#endif /* _CHAOTIX_ART_H_ */
